package cn.tqfeiyang.smartadmin.business.organization.request;

import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.tqfeiyang.smartadmin.commons.pagination.*;
import lombok.Data;

import cn.tqfeiyang.smartadmin.business.organization.response.PositionQueryVO;

/**
 * 职务查询请求
 *
 * @author tqfeiyang
 * @since 2024-09-30
 */
@Data
public class PositionQueryDTO extends PageParams {

    /**
     * 排序字段
     */
    @Schema(description = "排序字段")
    private PositionQueryVO.Fields orderBy = PositionQueryVO.Fields.sort;

    /**
     * 排序方式 asc：升序，desc：降序
     */
    @Schema(description = "排序方式 asc：升序，desc：降序")
    private OrderDirection direction = OrderDirection.asc;

    /**
     * 关键字
     */
    @Schema(description = "关键字")
    private String keywords;

    /**
     * 名称
     */
    @Schema(description = "名称")
    private String name;

    /**
     * 职级
     */
    @Schema(description = "职级")
    private String level;

}